<?php 
	namespace app\admin\model;
	//导入底层model
	use think\Model;
	class HomeUser extends Model{
		protected $table="home_user";
		 public function getStatusAttr($value){
	        $status = [1=>'开启',0=>'禁用',2=>'待审核'];
	        return $status[$value];
    	}
	}
 ?>
